import java.io.FileNotFoundException;
import java.util.Scanner;


public class LoadLevel {
	public static void load() throws FileNotFoundException{
		int num = 0;
		for(int x = 0; x < 15; x++){
			for(int y = 0; y < 15; y++){
				num++;
				java.io.File file = new java.io.File("Level1/"+num+".txt");
				Scanner input = new Scanner(file);
				while (input.hasNext()){
					String value = input.nextLine();
					int i = Integer.parseInt(value);
					ChangeTile.change(x, y, i);

				}
				
			}
		}
	}
}
